package com.itcoon.cloud.framework.constants;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public interface CommonCoreConstants {

    String GETTER_PREFIX = "get";

    String IS_GETTER_PREFIX = "is";

    String SETTER_PREFIX = "set";

    List<String> GETTER_PREFIX_LIST = Arrays.asList(IS_GETTER_PREFIX, GETTER_PREFIX);

    List<String> GETTER_SETTER_PREFIX_LIST = Arrays.asList(IS_GETTER_PREFIX, GETTER_PREFIX, SETTER_PREFIX);

    String DEFAULT_DATE_PATTERN = "yyyy-MM-dd";

    String DEFAULT_TIME_PATTERN = "HH:mm:ss";

    String DEFAULT_DATE_TIME_PATTERN = "yyyy-MM-dd HH:mm:ss";

    List<Class<?>> dateTimeClasses = Arrays.asList(LocalDateTime.class, ZonedDateTime.class);

    List<Class<?>> dateClasses = Collections.singletonList(LocalDate.class);

}
